home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / RCS / errno.h,v < prev    next >
Encoding:
Text File  |  1990-06-08  |  4.0 KB  |  223 lines

  1. head     1.6;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.6
  10. date     90.03.29.12.44.34;  author shirriff;  state Exp;
  11. branches ;
  12. next     1.5;
  13.  
  14. 1.5
  15. date     89.06.19.12.21.25;  author rab;  state Exp;
  16. branches ;
  17. next     1.4;
  18.  
  19. 1.4
  20. date     88.10.28.11.23.18;  author brent;  state Exp;
  21. branches ;
  22. next     1.3;
  23.  
  24. 1.3
  25. date     88.07.01.15.52.53;  author ouster;  state Exp;
  26. branches ;
  27. next     1.2;
  28.  
  29. 1.2
  30. date     88.06.21.11.30.06;  author ouster;  state Exp;
  31. branches ;
  32. next     1.1;
  33.  
  34. 1.1
  35. date     88.06.21.10.46.23;  author ouster;  state Exp;
  36. branches ;
  37. next     ;
  38.  
  39.  
  40. desc
  41. @@
  42.  
  43.  
  44. 1.6
  45. log
  46. @Mary checking this in for Ken before an install.
  47. @
  48. text
  49. @/*
  50.  * errno.h --
  51.  *
  52.  *    Declaration for the errno variable, the error constants, and
  53.  *    the strings giving error messages for various errors.
  54.  *
  55.  * Copyright 1988 Regents of the University of California
  56.  * Permission to use, copy, modify, and distribute this
  57.  * software and its documentation for any purpose and without
  58.  * fee is hereby granted, provided that the above copyright
  59.  * notice appear in all copies.  The University of California
  60.  * makes no representations about the suitability of this
  61.  * software for any purpose.  It is provided "as is" without
  62.  * express or implied warranty.
  63.  *
  64.  * $Header: /sprite/src/lib/include/RCS/errno.h,v 1.5 89/06/19 12:21:25 rab Exp Locker: shirriff $ SPRITE (Berkeley)
  65.  */
  66.  
  67. #ifndef _ERRNO
  68. #define _ERRNO
  69.  
  70. extern int    errno;        /* Last error condition returned from a
  71.                  * kernel call or some other procedure. */
  72. extern int    sys_nerr;    /* Number of error message in array below. */
  73. extern char    *sys_errlist[];    /* Array containing string error messages
  74.                  * for errors 0 up to sys_nerr-1. */
  75.  
  76. /*
  77.  * Known values for errno:
  78.  */
  79.  
  80. #define EPERM        1
  81. #define ENOENT        2
  82. #define ESRCH        3
  83. #define EINTR        4
  84. #define EIO        5
  85. #define ENXIO        6
  86. #define E2BIG        7
  87. #define ENOEXEC        8
  88. #define EBADF        9
  89. #define ECHILD        10
  90. #define EAGAIN        11
  91. #define ENOMEM        12
  92. #define EACCES        13
  93. #define EFAULT        14
  94. #define ENOTBLK        15
  95. #define EBUSY        16
  96. #define EEXIST        17
  97. #define EXDEV        18
  98. #define ENODEV        19
  99. #define ENOTDIR        20
  100. #define EISDIR        21
  101. #define EINVAL        22
  102. #define ENFILE        23
  103. #define EMFILE        24
  104. #define ENOTTY        25
  105. #define ETXTBSY        26
  106. #define EFBIG        27
  107. #define ENOSPC        28
  108. #define ESPIPE        29
  109. #define EROFS        30
  110. #define EMLINK        31
  111. #define EPIPE        32
  112. #define EDOM        33
  113. #define ERANGE        34
  114. #define EWOULDBLOCK    35
  115. #define EINPROGRESS    36
  116. #define EALREADY    37
  117. #define ENOTSOCK    38
  118. #define EDESTADDRREQ    39
  119. #define EMSGSIZE    40
  120. #define EPROTOTYPE    41
  121. #define ENOPROTOOPT    42
  122. #define EPROTONOSUPPORT 43
  123. #define ESOCKTNOSUPPORT 44
  124. #define EOPNOTSUPP    45
  125. #define EPFNOSUPPORT    46
  126. #define EAFNOSUPPORT    47
  127. #define EADDRINUSE    48
  128. #define EADDRNOTAVAIL    49
  129. #define ENETDOWN    50
  130. #define ENETUNREACH    51
  131. #define ENETRESET    52
  132. #define ECONNABORTED    53
  133. #define ECONNRESET    54
  134. #define ENOBUFS        55
  135. #define EISCONN        56
  136. #define ENOTCONN    57
  137. #define ESHUTDOWN    58
  138.  
  139. #define ETIMEDOUT    60
  140. #define ECONNREFUSED    61
  141. #define ELOOP        62
  142. #define ENAMETOOLONG    63
  143. #define EHOSTDOWN    64
  144. #define EHOSTUNREACH    65
  145. #define ENOTEMPTY    66
  146. #define EPROCLIM    67
  147. #define EUSERS        68
  148. #define EDQUOT        69
  149. #define ESTALE        70
  150. #define EREMOTE        71
  151.  
  152. #define EIDRM        77
  153.  
  154. #endif /* _ERRNO */
  155. @
  156.  
  157.  
  158. 1.5
  159. log
  160. @*** empty log message ***
  161. @
  162. text
  163. @d16 1
  164. a16 1
  165.  * $Header: /sprite/src/lib/include/RCS/errno.h,v 1.4 88/10/28 11:23:18 brent Exp Locker: rab $ SPRITE (Berkeley)
  166. d103 2
  167. @
  168.  
  169.  
  170. 1.4
  171. log
  172. @Added ESTALE and EREMOTE
  173. @
  174. text
  175. @d16 1
  176. a16 1
  177.  * $Header: /sprite/src/lib/include.new/RCS/errno.h,v 1.3 88/07/01 15:52:53 ouster Exp Locker: brent $ SPRITE (Berkeley)
  178. d104 1
  179. a104 1
  180. #endif _ERRNO
  181. @
  182.  
  183.  
  184. 1.3
  185. log
  186. @Spelled EACCESS correctly, which was wrong.
  187. @
  188. text
  189. @d16 1
  190. a16 1
  191.  * $Header: errno.h,v 1.2 88/06/21 11:30:06 ouster Exp $ SPRITE (Berkeley)
  192. d90 1
  193. d101 2
  194. @
  195.  
  196.  
  197. 1.2
  198. log
  199. @Typo.
  200. @
  201. text
  202. @d16 1
  203. a16 1
  204.  * $Header: errno.h,v 1.1 88/06/21 10:46:23 ouster Exp $ SPRITE (Berkeley)
  205. d44 1
  206. a44 1
  207. #define EACCESS        13
  208. @
  209.  
  210.  
  211. 1.1
  212. log
  213. @Initial revision
  214. @
  215. text
  216. @d16 1
  217. a16 1
  218.  * $Header: errno.h,v 1.1 88/06/21 10:45:19 ouster Exp $ SPRITE (Berkeley)
  219. d22 1
  220. a22 1
  221. extern int    d errno;    /* Last error condition returned from a
  222. @
  223.